package mesweb.mesweb.enums;

import com.baomidou.mybatisplus.annotation.IEnum;

/**
 * @Description: TODO
 * @Author niufw
 * @Date 2021/12/17 15:00
 * @Version 1.0
 */

public enum enumSchedulePeriodType implements IEnum<Integer> {

    MONTH_TYPE(0,"月计划"),
    WEEK_TYPE(1,"周计划"),
    DAY_TYPE(2,"日计划");

    Integer code;
    String msg;

    public void setValue(Integer code) {
        this.code = code;
    }

    enumSchedulePeriodType(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public Integer getValue() {
        return this.code;
    }}

